import request from '@/utils/request'

export const loadRoutes=(data)=>{
    return request.get('/route-api/getRoutes',{params:data})
}

export const updateRoutesApi=(data)=>{
    return request.post('/route-api/updateRoutes',data)
}

export const deleteRoutesApi=(routeId)=>{
    return request.get('/route-api/deleteRoutes',{params:{routeId}})
}